<h:panelGrid xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:t="http://myfaces.apache.org/tomahawk" width="100%">
	<p:dataTable value="#{evokPatientTherapyArchiveBean.attmodel}"
		var="att" id="tblAtt" widgetVar="wdgAtt"
		emptyMessage="">
		<p:column headerText="#{msgs.table_index}">
			<h:outputText value="#{att.sort}" />
		</p:column>

		<p:column headerText="#{msgs.common_create_date}">
			<h:outputText value="#{att.createDate}">
				<f:convertDateTime pattern="yyyy/MM/dd" />
			</h:outputText>
		</p:column>

		<p:column headerText="#{msgs.default_name}">
			<h:outputText value="#{att.attName}" />
		</p:column>

		<p:column headerText="#{msgs.table_column_operation}">
			<h:outputLink target="_blank" styleClass="ui-icon ui-icon-link"
				value="#{att.path}"
				rendered="#{att.path!=null}" title="#{msgs.default_download}">
			</h:outputLink>
		</p:column>
	</p:dataTable>
</h:panelGrid>
